const {index, login, register,searchFriends} = require('../controllers/user.controller')
const Router = require('koa-router')
const router = new Router()
router.get('/', index)
router.post('/login', login)
router.post('/register', register)
router.get('/searchFriends', searchFriends)
module.exports = router
